<template>
  <div v-if="currentShape.id" class="px-4 overflow">
    <!-- 动态组件 -->
    <DynamicComponent />
    <BaseInfo />
  </div>
</template>

<script setup lang="ts">
import { currentShape } from "@/views/paint/modules/data/shapes";
import BaseInfo from "./sub-components/BaseInfo.vue";
import DynamicComponent from "./sub-components/DynamicComponent.vue";
</script>

<style lang="scss" scoped>
.overflow {
  max-height: 850px;
  overflow-y: auto;
}
</style>
